package com.amir.model;

public class Student {
	private String name;
	
	private String gender;
	
	private Address address;
	
	public String getName() {
		return name;
	}

	public String getGender() {
		return gender;
	}

	public Address getAddress() {
		return address;
	}
	
	public Student(){}

	public Student(String name, String gender, String city, String state, String street) {
		super();
		this.name = name;
		this.gender = gender;
		this.address = new Address(city, state, street);
	}

	@Override
	public String toString() {
		return "Student [name=" + name + ", gender=" + gender + ", address="+ address + "]";
	}
}